package plugin;

import financeapi.*;

public class CreditAuthorizor extends DataAuthorizor
{
	public CreditAuthorizor()
	{
		databaseName = "Credit";
	}

	public AuthorizeObject getAuthorization(PaymentType type, float total,
											AuthorizeObject obj)
	{
		System.out.println("Authorizing Card...");
		obj.setAuthorizeID("566754332");
		obj.setTotalCredit(50.00f);
		obj.setAuthorize(true);
		System.out.println("Card Authorized");
		return obj;
	}

}
